﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using S4Store.Domain;
using S4Store.Domain.Report;

namespace S4Store.Models.Report
{
    public class CarModelOrderTimeRateModel : BaseReportModel
    {
        public CarModelOrderTimeRateModel()
        {
            Reports = new List<CarModelSaleReport>();
        }

        public CarBrand CarBrand { get; set; }
        public int DayCount { get; set; }
        public int Day { get; set; }
        public decimal DateRate
        {
            get
            {
                return (decimal)Day * (decimal)100 / (decimal)DayCount;
            }
        }

        public List<CarModelSaleReport> Reports { get; set; }

    }
}